package com.swfee.qinben.dto.active;

import org.json.JSONArray;

public class CommentModel {
	
	private String userName;
	private String comment;
	private String imgUrl;
	private String vedioUrl;
	private String time;
	
	//":[{"replyCommentId":1,"content":"wo kan dao le！","replyUser":"李护士","replyDate":"2013/03/05 10:00:01","imageUrl":null,"videoUrl":null}
	private JSONArray replyList;
	
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	public String getVedioUrl() {
		return vedioUrl;
	}
	public void setVedioUrl(String vedioUrl) {
		this.vedioUrl = vedioUrl;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public CommentModel(String userName, String comment, String time) {
		super();
		this.userName = userName;
		this.comment = comment;
		this.time = time;
	}
	
	
	public JSONArray getReplyList() {
		return replyList;
	}
	public void setReplyList(JSONArray replyList) {
		this.replyList = replyList;
	}
	public boolean hasMulitmedia(){
		return (imgUrl!=null&&imgUrl.length()!=0) || (vedioUrl!=null&&vedioUrl.length()!=0);
	}
	public CommentModel() {
		super();
	}
	
	
	
	
	
}
